#ifndef MINIMAKE_PARSE_ERRORS_H_
# define MINIMAKE_PARSE_ERRORS_H_
 
/* -------------------------------------------------------------------- */
typedef struct {
    int lineno;
    int column;
} txtpos_t;

typedef struct {
    txtpos_t start, end;
} fulltxtpos_t;

typedef void (parse_error_t)(const char *msg, const fulltxtpos_t *pos);

#endif /* !MINIMAKE_PARSE_ERRORS_H_ */
